<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <title>State&生命周期</title>
</head>
<body style="font-size: 15px">
    <div id="root1"></div>

    <script src="demo4.js" type="text/babel">
    </script>
    <script src="https://cdn.bootcss.com/react/16.2.0/umd/react.development.js"></script>
    <script src="https://cdn.bootcss.com/react-dom/16.2.0/umd/react-dom.development.js"></script>
    <script src="https://cdn.bootcss.com/babel-standalone/6.26.0/babel.js"></script>
</body>
</html>